package com.htn.common.core.constant;

/**
 * 充值的状态
 * 1. 微信 2. 支付宝 3. 银联 4 对公
 * */
public enum PayTypeEnum {
    WX("1", "微信"),
    ALIPAY("2", "支付宝"),
    UNIPAY("3", "银联"),
    TO_PUB("4", "对公"),
    ALL("all","全部")
    ;
    private final String value;
    private final String name;

    PayTypeEnum(String value, String name){
        this.value = value;
        this.name = name;
    }

    public String getName(){
        return name;
    }

    public String getValue(){
        return value;
    }
}
